package day11homework;

import java.util.ArrayList;

public class Zy01 {
	
	public static void main(String[] args) {
		ArrayList<String> list = new ArrayList<>();
		list.add("java");
		list.add("html");
		String[] strings = list.toArray(new String[0]);
		for(int i = 0;i < list.size(); i++) {
			System.out.println(strings[i] );
		}
	}
}
